home *** CD-ROM | disk | FTP | other *** search
- 167
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- ChildWindowList
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baChildWindowList returns a list of a window's child windows.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baChildWindowList( ParentWnd, Class, Caption, MatchCaption )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer, string, string, integer.
- --- RECORDSEPARATOR ---
- ParentWnd is the window to get the children of.
- --- RECORDSEPARATOR ---
- Class is the class of child windows to include.
- --- RECORDSEPARATOR ---
- Caption is the window title of child windows to include.
- --- RECORDSEPARATOR ---
- If MatchCaption is true, then Caption must match the window caption exactly (apart
- --- RECORDSEPARATOR ---
- from case). If it is false, then any window which contains Caption will be returned. If
- --- RECORDSEPARATOR ---
- Caption is an empty string, then MatchCaption is ignored.
- --- RECORDSEPARATOR ---
- The function can use either or both Class and Caption arguments. If one of the
- --- RECORDSEPARATOR ---
- arguments is empty, then only the other argument will be used in searching for the
- --- RECORDSEPARATOR ---
- windows.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- List (Xtra) or String (UCD).
- --- RECORDSEPARATOR ---
- Returns a list or string of all found window handles.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set wndList = baChildWindowList( 1234, "", "", 0 ) -- return list of all child windows
- --- RECORDSEPARATOR ---
- of window 1234
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- wndList := baChildWindowList( 1234, "Edit", "", 0 ) -- return list of all edit controls of
- --- RECORDSEPARATOR ---
- window 1234
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- The return for the UCD version is a string with each window handle on a separate
- --- RECORDSEPARATOR ---
- line. You can use the Authorware GetLine function to retrieve each window handle.
- --- RECORDSEPARATOR ---
- This function will return all child windows of the parent window and all its' children.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baFindWindow
- --- RECORDSEPARATOR ---
- baWindowList
- --- RECORDSEPARATOR ---
- baGetWindow